package com.qingke.pms.dao;

import java.util.List;

import com.qingke.pms.pojo.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);
    
    List<User> selectAll();
    
    List<User> selectByLikeName(String name);
    
    List<User> selectByLikeEmail(String email);
    
    List<User> selectByLikePhone(String phone);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
}